﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _工程师标签展示.Models
{
    public class CallModel
    {

        public CallModel()
        {

        }

        public CallModel(string User, string PassWord, string Souce, DataSocrce data)
        {
            this.StrAccessUser = User;
            this.StrAccessPassword = PassWord;
            this.SouceFlag = Souce;
            this.Data = data;
        }


        public CallModel(bool b)
        {
            this.StrAccessUser = "EngineerQR";
            this.StrAccessPassword = "Engineer221217_QR";
            this.SouceFlag = "EngineerQR";
            this.Data = new DataSocrce();
            Data.GroupName = "EngineerLCSE";
            Data.PersonCode = new string[] { "L24667", "C13754" };
        }

        /// <summary>
        /// 用户名
        /// </summary>
        public string StrAccessUser { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string StrAccessPassword { get; set; }
        /// <summary>
        ///     不知道干啥的
        /// </summary>
        public string SouceFlag { get; set; }

        public DataSocrce Data { get; set; }

    }
    public class DataSocrce
    {
        /// <summary>
        /// 人员编号 字符串数组形式
        /// </summary>
        public string[] PersonCode { get; set; }
        /// <summary>
        /// 分组名称
        /// </summary>
        public string GroupName { get; set; }
    }
}
